import type { AddressAll } from '@/types/address'
import { http } from '@/utils/http'

/**
 * 获取地址
 * @param data 地址入参
 * @returns
 */
export const getAreaAPI = () => {
  return http<AddressAll[]>({
    method: 'GET',
    url: '/v1/area/area',
  })
}
